---
title: CLI commands
description:
  A list of useful commands for working with the Saas UI Next.js starter kit.
---

Here is a list of useful commands for working with the Saas UI Next.js starter
kit.

| Command                | Description                                      |
| ---------------------- | ------------------------------------------------ |
| `pnpm init:env`        | Initialize the environment variables             |
| `pnpm dev:web`         | Start the development server                     |
| `pnpm storybook`       | Start the Storybook server                       |
| `pnpm build:web`       | Build the production app                         |
| `pnpm build:storybook` | Build the Storybook for production               |
| `pnpm build:tokens`    | Build the design tokens for autocompletion       |
| `pnpm db:push`         | Push the database schema to the database         |
| `pnpm db:generate`     | Generate database migrations                     |
| `pnpm db:migrate`      | Run database migrations                          |
| `pnpm db:seed`         | Seed the database with test data                 |
| `pnpm db:studio`       | Open the database studio                         |
| `pnpm billing:sync`    | Sync the billing configuration into the database |
| `clean:packages`       | Clean build artifacts in all packages            |
| `format:check`         | Check code formatting                            |
| `format:write`         | Write code formatting                            |
| `lint`                 | Run the linter                                   |
| `lint:fix`             | Fix linting issues                               |
